package com.bunnyhsu.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by xl on 2018/4/10.
 */
public class DateUtil {
    public static String now() {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("YYYY-MM-dd hh:mm:ss");
        return sdf.format(date);
    }
}
